package com.myz.springboot2.xml.domain;

import lombok.Data;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import java.io.Serializable;

@Data
@XmlAccessorType(XmlAccessType.FIELD)
public class BaseField implements Serializable {
    private static final long serialVersionUID = 4259733465483217056L;

    /**
     * 档号
     */
    @XmlElement(name = "档号")
    private String archivalCode;

    /**
     * 路径
     */
    @XmlElement(name = "路径")
    private String path;

    /**
     * 题名
     */
    @XmlElement(name = "题名")
    private String title;

    /**
     * 责任者
     */
    @XmlElement(name = "责任者")
    private String author;

    /**
     * 页数
     */
    @XmlElement(name = "页数")
    private String pages;

    /**
     * 年度
     */
    @XmlElement(name = "年度")
    private String year;

    /**
     * 保管期限
     */
    @XmlElement(name = "保管期限")
    private String retentionPeriod;

    /**
     * 密级
     */
    @XmlElement(name = "密级")
    private String securityLevel;
}
